home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / Basic / Visual Basic.60 / COMMON / TOOLS / VCM / VCM.MDB / VcmComponentContainer / 07_Cabinet / TEAR.H < prev    next >
Encoding:
C/C++ Source or Header  |  1998-05-18  |  954 b   |  34 lines

  1. // tear.h : class definitions for CTearSession and CTearException
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1997-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. // Created by Mike Blaszczak.
  14.  
  15. class CTearSession : public CInternetSession
  16. {
  17. public:
  18.     CTearSession(LPCTSTR pszAppName, int nMethod);
  19.     virtual void OnStatusCallback(DWORD dwContext, DWORD dwInternetStatus,
  20.         LPVOID lpvStatusInfomration, DWORD dwStatusInformationLen);
  21. };
  22.  
  23.  
  24. class CTearException : public CException
  25. {
  26.     DECLARE_DYNCREATE(CTearException)
  27.  
  28. public:
  29.     CTearException(int nCode = 0);
  30.     ~CTearException() { }
  31.  
  32.     int m_nErrorCode;
  33. };
  34.